public  abstract class Employee {
     int id;
     String name;
     double wage;


    public  abstract double work();

    public Employee(int id, String name, double wage) {
        this.id = id;
        this.name = name;
        this.wage = wage;
    }

    public Employee() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getWage() {
        return wage;
    }

    public void setWage(double wage) {
        this.wage = wage;
    }

    @Override
    public String toString() {
        return "员工信息{" +
                "编号：" + id +
                ", 姓名：'" + name + '\'' +
                ", 收入" + wage +
                '}';
    }
}
